package com.htht.job.core.api;

import com.htht.job.core.biz.model.ReturnT;
import com.htht.job.core.util.ResultUtil;
import com.htht.job.executor.model.fileinfo.FileInfo;
import com.htht.job.executor.model.ftp.Ftp;
import com.htht.job.executor.model.product.Product;
import com.htht.job.executor.model.productfileinfo.ProductFileInfo;
import com.htht.job.vo.Monitor;

import java.util.List;
import java.util.Map;

/**
 * Created by zzj on 2018/1/2.
 */
public interface DubboService {
	ResultUtil<List<String>> execute(String params, String handler, Map fixmap,
			Map dymap);

	Map<String, Object> pageListProduct(int start, int length, Product product);

	Product saveProduct(Product product);

	ReturnT<String> deleteProduct(java.lang.String id);

	List<Product> findALlProduct();

	Map<String, Object> pageListProductFileInfo(int start, int length,
			ProductFileInfo productFileInfo);

	ProductFileInfo saveProductFileInfo(ProductFileInfo productFileInfo);

	ProductFileInfo deleteProductFileInfo(String id);

	String findSelectFtp();

	Ftp getById(String id);

	int updeat(Ftp ftp);

	int del(String id);

	List<Monitor> findAllMonitor();

	 List<FileInfo> findFileInfoByWhere(String id);

}
